//
//  HKLogManager.h
//  HKMacros
//
//  Created by 胡锦涛 on 2020/7/4.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef enum : NSInteger {
    // 信息日志
    HKLogLevelInfo = 0,
    // 警告日志
    HKLogLevelWarning,
    // 调试日志
    HKLogLevelDebug,
    // 错误日志
    HKLogLevelError,
    // 详细日志
    HKLogLevelVerbose,
} HKLogLevel;

extern NSString *const HK_USERACTION;

@interface HKLogManager : NSObject
/// 获取日志等级
+ (HKLogLevel)getLogLevel;
+ (NSString *)getLogLevelType;
/// 获取手机网络状态
+ (NSString *)getNetConnectType;
/// 默认日志统计 logLevel AliyunLogLevelInfo
+ (void)logWithSessionId:(NSString*)sessionId actionName:(NSString*)actionName bizParam:(NSMutableDictionary*)bizParam;
/// 日志统计带日志等级
+ (void)logWithSessionId:(NSString*)sessionId actionName:(NSString*)actionName logLevel:(HKLogLevel)logLevel bizParam:(NSMutableDictionary*)bizParam;
+ (void)reportLog;
@end

NS_ASSUME_NONNULL_END
